package com.ruoyi.system.domain.front;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 题目库对象 safety_examination_question
 * 
 * @author ruoyi
 * @date 2021-04-07
 */
public class ExaminationFrontResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 奖品列表 */
    private List<ExaminationFrontPrize> examinationFrontPrizes;

    /** 成绩 */
    private Integer grade = 0;

    /** 是否及格 */
    private Boolean pass = false;

    /** 是否及格 */
    private Boolean full = false;


    /** 抽奖状态 */
    private Boolean prizeType = true;

    public void setExaminationFrontPrize(List<ExaminationFrontPrize> examinationFrontPrizes)
    {
        this.examinationFrontPrizes = examinationFrontPrizes;
    }
    public List<ExaminationFrontPrize> getExaminationFrontPrize()
    {
        return examinationFrontPrizes;
    }

    public void setGrade(Integer grade)
    {
        this.grade = grade;
    }
    public Integer getGrade()
    {
        return grade;
    }

    public void setPass(Boolean pass)
    {
        this.pass = pass;
    }
    public Boolean getPass()
    {
        return pass;
    }

    public void setFull(Boolean full)
    {
        this.full = full;
    }
    public Boolean getFull()
    {
        return full;
    }

    public void setPrizeType(Boolean prizeType)
    {
        this.prizeType = prizeType;
    }
    public Boolean getPrizeType()
    {
        return prizeType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("examinationFrontPrizes", getExaminationFrontPrize())
            .append("grade", getGrade())
            .append("pass", getPass())
            .append("full", getFull())
            .append("prizeType", getPrizeType())
            .toString();
    }
}
